﻿using Stimulus360.Services;
using Stimulus360.Models.Data;
using System.Collections.Generic;
using Stimulus360.Models.Data.CustomTypes;

namespace Stimulus360.Controllers.Ideas
{
    /// <summary>
    ///     Class representing View model for page list new ideas
    /// </summary>
    public class NewIdeasListingViewModel
    {
        /// <summary>
        ///     List of new ideas
        /// </summary>
        public PaginatedCollection<Idea> Ideas { get; set; }

        /// <summary>
        ///     List of investment categories for tag cloud
        /// </summary>
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly", Justification ="Property needs to be set in the controllers")]
        public ICollection<InvestmentCategorySummary> Categories { get; set; }
    }
}
